import axios from 'axios'

export const ComplementSettlementListService = class ComplementSettlementListService {
    static complementSettlementListService = null
    requestUrl = 'http://localhost/complementSettlementList'

    static getInstance(){
        if(this.complementSettlementListService == null){
            this.complementSettlementListService = new ComplementSettlementListService()
        }
        return this.complementSettlementListService
    }
    
    // 用pid查询所有数据
    selectList(params){
        return axios.get(`${this.requestUrl}/${params}`)
    }

    
}